package config

import (
	"context"
	"github.com/redis/go-redis/v9"
	"gorm.io/gorm"
	"sync"
)

var (
	Config    *AppConfig
	DB        *gorm.DB
	OnceMysql sync.Once //mysql单例模式
	OnceRedis sync.Once //redis单例模式
	Ctx       = context.Background()
	Rdb       *redis.Client
)
